package model;
import java.util.Date;

import org.workplicity.util.WorkDate;

import cc.test.bridge.NoteInterface;


public class Note implements NoteInterface 
{

	/**
	 * 
	 */
	protected final String REPOS_NAME = "Notes";
	

	private static final long serialVersionUID = 1L;
	protected Integer id = -1;
	protected String name = "N/A";
	protected String author = "N/A";
	protected String text = "N/A";
	protected Date date = new Date();
	protected WorkDate updateDate = new WorkDate();

	public Note()
	{
	}
	
	@Override
	public Boolean commit()
	{
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer getId()
	{
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getName()
	{
		return this.name;
	}

	@Override
	public String getRepositoryName()
	{
		return this.REPOS_NAME;
	}

	@Override
	public WorkDate getUpdateDate()
	{
		return this.updateDate;
	}

	@Override
	public void setName(String arg0)
	{
		this.name = arg0;
		
	}

	@Override
	public String getAuthor()
	{
		return this.author;
	}

	@Override
	public Date getDate()
	{
		return this.date;
	}

	@Override
	public String getText()
	{
		return this.text;
	}

	@Override
	public void setAuthor(String arg0)
	{
		this.author = arg0;
		
	}

	@Override
	public void setText(String arg0)
	{
		this.text = arg0;
		
	}
	
	public String getREPOS_NAME()
	{
		return REPOS_NAME;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

	public void setUpdateDate(WorkDate updateDate)
	{
		this.updateDate = updateDate;
	}

}
